package ynu.edu.achitectureclass.repository;

import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;
import ynu.edu.achitectureclass.entity.Greenhouse;

import java.util.List;

@Repository
public interface GreenHouseRepository extends JpaRepository<Greenhouse, Long> {
    List<Greenhouse> findAll();
}